package com.song.vod.service;

import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * @author song
 * @data 2020/4/1
 */
public interface VodService {

    /**
     * 上传视频
     * @param file
     * @return
     */
    String uploadVideoAly(MultipartFile file);

    /**
     * 删除阿里云视频
     * @param id
     * @return
     */
    int deleteAlyVideo(String id);

    /**
     * 删除多条阿里云视频
     * @param videoIdList
     * @return
     */
    void deleteBatchVideo( List<String> videoIdList);
}
